<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <link rel="stylesheet" th:href="@{/layui/layui/css/layui.css}"  media="all">
    <link rel="stylesheet" th:href="@{/layui/layui/css/layui.css}">

</head>
<body>
<div>
    <form class="layui-form" action="" id="addForm">
        <div class="layui-form-item">
            <label class="layui-form-label">权限名</label>

            <div class="layui-input-block" style="width: 30%">
                <input type="text" name="name" placeholder="请输入权限名称" lay-verify="required" autocomplete="off" class="layui-input">
            </div>
        </div>

        <div class="layui-form-item layui-form-text">
            <label class="layui-form-label">描述</label>
            <div class="layui-input-block" style="width: 50%">
                <textarea name="description" placeholder="请输入权限的描述" class="layui-textarea"></textarea>
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="formBtn">立即提交</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>

</div>
<script th:src="@{/common/jquery/js/jquery-3.3.1.js}"></script>
<script th:src="@{/js/core/core-ui.js}"></script>
<script th:src="@{/layui/layui/layui.js}"></script>
<script th:src="@{/js/system/user/add.js}"></script>
</body>
</html>